<?php

class Application_Form_EntryEdit extends Application_Form_EntryAdd {

    public function init() {
        parent::init();
        $this->setAction('/admin/entry/edit');

        /* Hidden Id */
        $this->addElement('hidden', 'id', array(
            'validators' => array('Digits'),
            'required' => true
        ));
        
        /* Add button */
        $this->getElement('Add')->setName('Edit');
    }

}

